package com.ewing.busi.web.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.ewing.busi.web.dao.WebBlockDao;
import com.ewing.busi.web.model.WebBlock;
import com.ewing.common.exception.WebBlockException;

/**
 * 网站块配置服务类
 * 
 * @author tansonlam
 * @createDate 2016年3月3日
 * 
 */
@Repository("webBlockService")
public class WebBlockService {
	@Resource
	private WebBlockDao webBlockDao;

	/**
	 * 查询
	 * 
	 * @param shopId
	 * @param groupKeys
	 * @return
	 */
	public WebBlock findBlock(Integer shopId, Integer blockId) {
		return webBlockDao.findBlock(shopId, blockId);
	}
}
